﻿function CheckSearchValue()
{
    var content = document.getElementById("ctl00_ContentPlaceHolder1_Search1_txtContent");
    if (content.value.length == 0 || content.value == '搜搜试试')
    {
        alert("请输入搜素内容！");
        content.focus();
        return false;
    }
    return true;
}


function onClick(inputObj)
{
    inputObj.value = '';
}
//当失去焦点时，调用onBlur()

function onBlur(inputObj)
{
    if (inputObj.value == '')
    {
        inputObj.value = '搜搜试试';
    }
}



